package day5;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class Array6 {
    public static void main(String[] args) {
        int len;
        Scanner in = new Scanner(System.in);
        System.out.println("请输入数组的长度：");
        len = in.nextInt();
        double d[] = new double[len];
        for (int i = 0; i < len; i++) {
            d[i] = in.nextDouble();
        }
        for (int i = 0; i < d.length; i++) {
            System.out.print(d[i] + " ");
        }
    }
}
